package com.huawei.appgallery.payzone.ui;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.HeaderViewListAdapter;
import android.widget.ListAdapter;
import com.huawei.appgallery.foundation.service.common.protocol.AppListFragmentProtocol;
import com.huawei.appgallery.foundation.ui.framework.cardkit.widget.CardListAdapter;
import com.huawei.appgallery.foundation.ui.framework.fragment.AppListFragment;

public class PaymentAppListFragment extends AppListFragment<AppListFragmentProtocol> {
    public View ˋ(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        View ˋ = super.ˋ(layoutInflater, viewGroup, bundle);
        if (this.ͺˎ.getAdapter() instanceof HeaderViewListAdapter) {
            ListAdapter listAdapter = (CardListAdapter) ((HeaderViewListAdapter) this.ͺˎ.getAdapter()).getWrappedAdapter();
            listAdapter.setCardEventListener(null);
            this.ͺˎ.setAdapter(listAdapter);
        }
        return ˋ;
    }
}
